package org.delphy.indy2.containers.carbonHotBoxClasses
{
	import mx.controls.Button;
	
	import org.delphy.indy2.core.ICarbonComponent;

	//----------------------------------
	//  Styles
	//----------------------------------	
	
	/**
	 * upFill Colors
	 * 
	 * @default #000000, #000000
	 */
	[Style(name="upFillColors", type="Array", arrayType="Number", inherit="no")]
	
	/**
	 * upFill Alphas
	 * 
	 * @default 0.85, 0.45
	 */
	[Style(name="upFillAlphas", type="Array", arrayType="Number", inherit="no")]
	
	/**
	 * upFill Ratios
	 */
	[Style(name="upFillRatios", type="Array", arrayType="Number", inherit="no")]
	
	/**
	 * upFill RatioUnits
	 */
	[Style(name="upFillRatioUnits", type="Array", arrayType="String", inherit="no")]

	/**
	 * overFill Colors
	 * 
	 * @default #666666, #666666
	 */
	[Style(name="overFillColors", type="Array", arrayType="Number", inherit="no")]
	
	/**
	 * overFill Alphas
	 * 
	 * @default 0.85, 0.45
	 */
	[Style(name="overFillAlphas", type="Array", arrayType="Number", inherit="no")]
	
	/**
	 * overFill Ratios
	 */
	[Style(name="overFillRatios", type="Array", arrayType="Number", inherit="no")]
	
	/**
	 * overFill RatioUnits
	 */
	[Style(name="overFillRatioUnits", type="Array", arrayType="String", inherit="no")]
	
	/**
	 * downFill Colors
	 */
	[Style(name="downFillColors", type="Array", arrayType="Number", inherit="no")]
	
	/**
	 * downFill Alphas
	 */
	[Style(name="downFillAlphas", type="Array", arrayType="Number", inherit="no")]
	
	/**
	 * downFill Ratios
	 */
	[Style(name="downFillRatios", type="Array", arrayType="Number", inherit="no")]
	
	/**
	 * downFill RatioUnits
	 */
	[Style(name="downFillRatioUnits", type="Array", arrayType="String", inherit="no")]
	
	/**
	 * Border Colors
	 * 
	 * @default #FFFFFF, #FFFFFF
	 */
	[Style(name="borderColors", type="Array", arrayType="Number", inherit="no")]
	
	/**
	 * Border Alphas
	 * 
	 * @default 0.9, 0.65
	 */
	[Style(name="borderAlphas", type="Array", arrayType="Number", inherit="no")]
	
	/**
	 * Border Ratios
	 */
	[Style(name="borderRatios", type="Array", arrayType="Number", inherit="no")]
	
	/**
	 * Border RatioUnits
	 */
	[Style(name="borderRatioUnits", type="Array", arrayType="String", inherit="no")]
	
	/**
	 * Border Weight
	 * 
	 * @default 1
	 */
	[Style(name="borderWeight", type="Number", inherit="no")]
	
	public class CarbonHotBoxButton extends Button implements ICarbonComponent
	{
		
		//----------------------------------
		//  Methods
		//----------------------------------	
		
		/**
		 * Constructor
		 */
		public function CarbonHotBoxButton()
		{
			super();
			
			styleName="carbonHotBoxButton";
		}

		/**
		 * @protected
		 */
		override protected function commitProperties() : void{
			super.commitProperties();
			
			if(!styleName)
				styleName = "carbonHotBoxButton";
		}
		
		public function get defaultStyleName():String{
			return "carbonHotBoxButton";
		}
	}
}